Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum





$$SearchTemplate search results as XML - is this possible?
~Mario Xangeropuloni 11/10/2003 04:09 AM
Domino Designer 6.0.1 CF2 Windows XP


Hi folks,

I read a frustrated post about this in the old notes forum, and I was wondering if anybody has solved this particular catch-22 in Notes 6....

I'd like to format the output of the standard view search as XML. I thought I could do that by treating the contents of my $$SearchTemplate form as HTML and embedding the standard XML type of view (each view entry is an XML node).

However, when you do the search, you get the error "Documents treated as HTML cannot be edited" - seems domino treats this as a form in edit mode, which I guess it is if you consider it as a back-end process.

On the other hand, if I switch the form content type property back to Notes, Domino whacks a few extra tags onto the output, which ruins any ambitions of having a well formed xml document.

I could write an agent to do the searching and present a custom search results form to the user, but I'd much rather use the (until now) perfectly good options provided by Domino.

Can anybody get XML out of the standard domino search, or does anybody have a better option for me?

-Brendan

Go back